<template>
  <div>
    <router-view></router-view>
  </div>
</template>

<script>
import { navBar } from "./router/index.config"
export default {
  props: {},
  data() {
    return {
      navBar: navBar(),
    };
  },
  // 组件
  components: {},
  // 事件方法
  methods: {},
  // 计算属性
  computed: {},
  //生命周期
  created() { },
  mounted() { },
};
</script>

<style scoped>
/* @import url(''); 引入css样式 */
/* * {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  width: 100vw;
  height: 100vh;
} */
html,
body,
#app {
    height: 100%;
    margin: 0;
    padding: 0;
}
</style>